package com.zzyl.mapper;


import com.zzyl.entity.UserRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 29400
* @description 针对表【sys_user_role(用户角色关联表)】的数据库操作Mapper
* @createDate 2024-05-17 11:37:39
* @Entity com.zzyl.entity1.UserRole
*/
@Mapper
public interface UserRoleMapper {

    //批量插入
    int batchInsert(@Param("list") List<UserRole> userRoles);

    void deleteUserRole(Long userId);
}
